# Maintainer: Connor Behan <connor.behan@gmail.com>

pkgname=pidgin-talkfilters
pkgver=2.7.0
pkgrel=1
pkgdesc="Implements GNU Talkfilters in pidgin chats"
arch=(i686 x86_64)
url="http://www.guifications.org/projects/purple-plugin-pack"
license=('GPL')
depends=('pidgin' 'talkfilters')
makedepends=('intltool' 'gettext' 'python2')
options=(!libtool)
source=(https://www.guifications.org/attachments/download/201/purple-plugin-pack-${pkgver}.tar.bz2)

build() {
  cd "$srcdir"/purple-plugin-pack-${pkgver}
  PYTHON=/usr/bin/python2 ./configure --prefix=/usr --with-plugins=talkfilters
  make
}

package() {
  cd "$srcdir"/purple-plugin-pack-${pkgver}
  make DESTDIR="$pkgdir" install
  rm -rf "${pkgdir}"/usr/share
}

md5sums=('a1ee405e81ad955798af7b2a6a8564fb')
